@import url("https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
}

html {
  font-size: 62.5%;
}

/* Scale down for smaller screens */
@media (max-width: 1200px) {
  html {
    font-size: 58%;
  }
}

@media (max-width: 992px) {
  html {
    font-size: 54%;
  }
}

@media (max-width: 768px) {
  html {
    font-size: 50%;
  }
}

@media (max-width: 576px) {
  html {
    font-size: 46%;
  }
}

@media (max-width: 400px) {
  html {
    font-size: 42%;
  }
}
@media (max-width: 253px) {
  html {
    font-size: 38%;
  }
}

:root {
  --primary-color: #a2172a;
  --partner-layer: rgba(0, 0, 0, 0.45);
  --hero-layer: rgba(0, 0, 0, 0.4);
}

a {
  text-decoration: none;
  color: currentColor;
  font-size: 16px;
  transition: color 0.15s ease-in-out;
}

button {
  border: none;
  background-color: transparent;
}

.btn--primary {
  border-radius: 3px;
  background-color: var(--primary-color);
  padding: 10px 24px;
  color: #f9f9f9;
  transition: all 0.3s;
}

.btn--primary:hover {
  background-color: #801221;
}

img {
  width: 100%;
  height: 100%;
  user-select: none;
  -webkit-user-drag: none;
}

h1 {
  color: #f9f9f9;
  text-align: center;
  font-family: Lato;
  font-size: 6.4rem;
  font-weight: 700;
  line-height: 120%; /* 76.8px */
  text-transform: uppercase;
}

h2 {
  color: #121212;
  font-family: Lato;
  font-size: 5.4rem;
  font-weight: 700;
  line-height: 120%; /* 64.8px */
  text-transform: uppercase;
  max-width: 56.3rem;
}

h4 {
  color: #121212;
  font-family: Lato;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 165.5%; /* 39.72px */
}

p {
  font-size: 16px;
}

.max-width {
  max-width: 1440px;
  margin: 0 auto;
}

.links,
.margin-left {
  text-transform: capitalize;
}

nav,
footer,
section,
.header-def {
  padding-left: 92px !important;
  padding-right: 92px !important;
}

@media (max-width: 800px) {
  nav,
  footer,
  section,
  .header-def {
    padding-left: 68px !important;
    padding-right: 68px !important;
  }
}

@media (max-width: 500px) {
  nav,
  footer,
  section,
  .header-def {
    padding-left: 24px !important;
    padding-right: 24px !important;
  }
}

.flex {
  display: flex;
}

.header-def {
  height: 78vh;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-color: #121212;
}

@media (max-width: 1024px) {
  .header-def {
    background-attachment: scroll;
  }
}

.header-def .max-width {
  height: 100%;
}

.header-def .flex {
  align-items: center;
  justify-content: center;
  height: 100%;
}

/* Home Hero Start */

.header-slick {
  height: 78vh;
  overflow: hidden;
  position: relative;
}

.slider {
  width: 100%;
  height: 100%;
  z-index: 20;
}



.slider div {
  position: relative;
}

.slider div span{
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.5);
}

.slick-slide img {
  width: 100%;
  height: 78vh;
  object-fit: cover;
  object-position: center;
}

.center-logo {
  position: absolute;
  z-index: 30;
  left: 50%;
  top: 50%;
  max-width: 654px;
  width: 100%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1160px) {
  .center-logo {
    max-width: 454px;
    width: 80%;
  }

}

/* Home Hero End */

/* Nav Start*/
nav {
  padding: 26px 0 27px 0;
  background-color: var(--primary-color);
  color: #f9f9f9;
  position: sticky;
  top: 0;
  right: 0;
  left: 0;
  z-index: 88;
}

nav .flex {
  align-items: center;
}

.margin-left a {
  margin-right: 20px;
  position: relative;
}

.current-page a {
  position: relative;
  width: 100%;
}

.margin-left a::before,
.current-page a::before {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 0;
  height: 1px;
  background-color: white;
  transition: all 0.3s;
}

.margin-left a:hover::before {
  width: 80%;
}

.margin-right {
  margin-left: auto;
  background-color: #121212;
  padding: 5px 16px;
  border-radius: 8px;
  transition: background-color 0.3s;
  font-weight: 700;
}

.margin-right:hover {
  background-color: #f9f9f9;
  color: #121212;
}

.margin-right:active {
  background-color: #007AFF;
  color: #f9f9f9;

}

.logo-container {
  display: none;
}

.burger-menu-button {
  display: none;
  cursor: pointer;
  margin-left: auto;
}

.burger-menu-button::after {
  content: url("asset/img/burger-menu.svg");
}

.burger-menu-links {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  background-color: #121212;
  z-index: 99;
  opacity: 0;
  transform: translateY(100%);
  transition: opacity 0.1s ease, transform 0.1s ease;
  pointer-events: none; /* Prevent clicks when hidden */
  z-index: 100;
}

.burger-menu-links.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto; /* Allow clicks when shown */
}

.burger-menu-links .flex {
  margin-top: 24px;
  flex-direction: column;
  align-items: start;
  width: 100%;
  text-transform: uppercase;
}

.burger-menu-links .exit {
  margin-left: auto;
  padding-right: 24px;
  margin-bottom: 12px;
  width: 60px;
  cursor: pointer;
  background: none; /* Remove default button styling */
  border: none; /* Remove default button styling */
}

.burger-menu-links a {
  width: 100%;
  padding: 3px 24px 4px 24px;
  margin-bottom: 26px;
  color: #f9f9f9;
  font-size: 18px;
  text-decoration: none;
}

.burger-menu-links a:active {
  background-color: rgba(249, 249, 249, 0.2);
}

.burger-menu-links .contactus {
  margin-top: 45px;
  text-align: center;
  width: calc(100% - 24px);
  margin-left: 50%;
  transform: translate(-50%, -50%);
}

@media (max-width: 1160px) {
  .margin-left,
  .margin-right {
    display: none;
  }

  .burger-menu-button,
  .logo-container {
    display: block;
  }
}

/* Nav End */

/* Devisions Start */
.devisions {
  padding: 92px 0 120px 0;
}

.devisions .flex {
  justify-content: space-between;
}

.devisions .content-box {
  width: 100%;
  padding: 137px 0;
  text-align: center;
  border-radius: 3px;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 2.8rem;
  text-transform: uppercase;
  color: #f9f9f9;
  background-size: cover;
  background-position: center;
  box-shadow: 0px 245px 68px 0px rgba(0, 0, 0, 0),
    0px 157px 63px 0px rgba(0, 0, 0, 0.01),
    0px 88px 53px 0px rgba(0, 0, 0, 0.03), 0px 39px 39px 0px rgba(0, 0, 0, 0.04),
    0px 10px 22px 0px rgba(0, 0, 0, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: background-image 0.3s ease, background-color 0.3s ease;
}

.devisions .content-box:not(:last-child) {
  margin-right: 16px;
}

.devisions .content-box::before {
  content: "";
  background-color: black;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.3s; /* Smooth transition effect */
}

.devisions .content-box:hover::before {
  opacity: 0.5; /* Adjust the opacity as needed */
}

.devisions .content-box:nth-child(1) {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), url("asset/img/hero-slider/textile-slider.webp");
}

.devisions .content-box:nth-child(2) {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), url("asset/img/tannery-hero.webp");
}

.devisions .content-box:nth-child(3) {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), url("asset/img/enviromental-hero.webp");
}

.devisions .content-box:nth-child(4) {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), url("asset/img/olive-oil-devision.webp");
}

.devisions .content-box span {
  z-index: 10;
  font-family: Lato;
  font-weight: 700;
  line-height: 120%;
}

@media (max-width: 1440px) {
  .devisions .flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    justify-content: start;
    column-gap: 16px;
    row-gap: 16px;
  }
}

@media (max-width: 608px) {
  .devisions .flex {
    grid-template-columns: 1fr;
  }
}
/* Devisions End */

/* Footer Start */
footer {
  padding: 47px 0 18px 0;
  background-color: #801221;
  color: #f9f9f9;
}

footer .logo {
  max-width: 201.96px;
  margin-right: 3.8rem;
}

footer .flex {
  align-items: center;
  justify-content: space-between;
}

.footer .links {
  display: flex;
  justify-content: center;
  text-align: center;
}

footer .links a {
  display: inline-block;
  margin-left: 30px;
  margin-bottom: 24px;
  transition: color .3s;
}

footer .links a:hover {
 color: #9c9c9c;
}

footer .social-media-links {
  text-align: end;
  border-bottom: 1px solid lightgray;
  padding-bottom: 40px;
  margin-left: auto;
}

footer .social-media-links a {
  margin-left: 16px;
}

footer .social-media-links img {
  width: 36px;
}

footer .flex:last-child {
  margin-top: 24px;
  margin-bottom: 18px;
}

@media (max-width: 1010px) {
  footer .flex {
    flex-direction: column;
  }

  footer .logo {
    margin: 0;
    margin-bottom: 64px;
  }

  footer .links a {
    display: block;
    text-align: center;
    margin-left: 0;
  }

  footer .flex:last-child {
    flex-direction: column-reverse;
  }

  footer .flex:last-child a {
    margin-top: 22px;
  }

  footer .social-media-links {
    display: flex;
    padding-top: 40px;
    justify-content: center;
    margin-left: 0;
  }
}

@media (max-width: 440px) {
  footer .flex {
    align-items: start;
  }

  footer .links a {
    text-align: start;
  }

  footer .social-media-links {
    justify-content: start;
  }
}

/* Footer ENd */
/* Hompage End////////////////////////////////////// */

/* Aboutus Hero Start */
.aboutus-hero {
  background-image: linear-gradient(var(--hero-layer), var(--hero-layer)),  url("asset/img/about-us-hero.webp");
}

.aboutus-hero h1 {
  position: relative;
}

.aboutus-hero img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -2.7rem;
}
/* Aboutus Hero End */

/* Left Margin - Information Start */
.information {
  padding: 92px 0 120px 0;
}

.information h2 {
  position: relative;
}

.information h2 img {
  max-width: 30rem;
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -3rem;
}

.information .max-width {
  width: 100%;
}

.information .flex {
  width: 100%;
  justify-content: space-between;
}

.information .left-margin {
  margin-right: 60px;
  flex: 2;
}

.founded {
  margin-top: 25px;
  margin-bottom: 64px;
  max-width: 633px;
}

.information h4 {
  margin-bottom: 15px;
}

.information .text-box {
  max-width: 750px;
}

.information .text-box:not(:nth-child(5)) {
  margin-bottom: 25px;
}

.information .btn--primary {
  margin-top: 45px;
  display: inline-block;
}
/* Left Margin End */

/* Right Margin Start */
.information .right-margin {
  padding-top: 88px;
  display: grid;
  grid-template-columns: 215.78px 215.78px;
  column-gap: 1.4rem;
  row-gap: 1.4rem;
  flex: 1;
}

@media (max-width: 1243px) {
  .information .flex {
    flex-direction: column;
  }

  .information .left-margin {
    margin-right: 0;
  }

  .information .text-box {
    max-width: 100%;
    width: 100%;
  }

  .information .right-margin {
    grid-template-columns: 1fr 1fr 1fr;
  }
}

@media (max-width: 500px) {
  .information .right-margin {
    grid-template-columns: 1fr 1fr;
  }
}

/* Right Margin Start - Information End*/
/* Aboutus Page End */

/* TEXTILE PAGE Star ---------------------------------------------t*/
/* Textile Hero Start */
.textile-hero {
  background-image: linear-gradient(var(--hero-layer), var(--hero-layer)), url("asset/img/hero-slider/textile-slider.webp");
}

.textile-hero h1 {
  position: relative;
  margin-bottom: 24px;
}

.textile-hero img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -2.7rem;
}

.textile-hero p {
  color: #f9f9f9;
  text-align: center;
}

.textile-hero .flex {
  flex-direction: column;
}
/* Textile Hero End */

/* Partners Start */
.partners {
  padding: 92px 0 120px 0;
}

.partners .flex {
  justify-content: space-between;
  flex-wrap: wrap;
}

.partners .content-box {
  width: calc(100% / 3 - 26px);
  height: 287px;
  margin-bottom: 32px;
  border-radius: 3px;

  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;

  box-shadow: 0px 245px 68px 0px rgba(0, 0, 0, 0),
    0px 157px 63px 0px rgba(0, 0, 0, 0.01),
    0px 88px 53px 0px rgba(0, 0, 0, 0.03), 0px 39px 39px 0px rgba(0, 0, 0, 0.04),
    0px 10px 22px 0px rgba(0, 0, 0, 0.05);
}

@media (max-width: 1333px) {
  .partners .content-box {
    width: calc(100% / 2 - 11px);
    margin-bottom: 22px;
  }
}

@media (max-width: 794px) {
  .partners .content-box {
    width: calc(100%);
    margin-bottom: 24px;
  }
}

.partners .content-box img {
  max-width: 216.91px;
  width: 100%;
  height: 59px;
}

.partners .content-box p {
  margin-top: 48px;
  margin-bottom: 32px;
  color: #f9f9f9;
  max-width: 329px;
  text-align: center;
}

.colourtex {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/textile-partners/colourtex.webp);
}

.zschimmer-schwarz {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/textile-partners/zischimmer-tannery.webp);
}

.italprogetti-textile {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/textile-partners/italprogetti-textile.webp);
}

.danitech {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/textile-partners/dannitech.webp);
}

.mathis {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/textile-partners/mathis.webp);
}

.salce {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/hero-slider/salce-1.webp);
}

.sedotreepoint {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), 
    url(asset/img/textile-partners/sedotreepoint.webp);
}

.salvade {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), 
    url(asset/img/textile-partners/salvade-bg.webp);
}

.mariocrosta {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)), 
    url(asset/img/textile-partners/mariocrosta-bg.webp);
}

/* Tannery Start - 3rd page */
.tannery-hero {
  background-image: linear-gradient(var(--hero-layer), var(--hero-layer)),  url("asset/img/tannery-hero.webp");
}

.tannery-hero h1 {
  position: relative;
  margin-bottom: 24px;
}

.tannery-hero img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -2.7rem;
}

.tannery-hero p {
  color: #f9f9f9;
  text-align: center;
}

.tannery-hero .flex {
  flex-direction: column;
}

/* Tannery Partners Start ------------------------------------------ */
.mostardini {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/Tannery/mostardini.webp);
}

.soldani {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/Tannery/soldani.webp);
}

.italprogetti-tannery {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/textile-partners/italprogetti-tannery.webp);
}

.barnini {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/Tannery/barnini.webp);
}

.langro {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/Tannery/langro.webp);
}

.amtech {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/Tannery/amtech.webp);
}
/* Tannery Page End */

/* Environmental Solutions Start ------------------------------------*/
.enviromental-hero {
  background-image: linear-gradient(var(--hero-layer), var(--hero-layer)), url("asset/img/enviromental-hero.webp");
  padding: 0 92px 0 92px;
}

.enviromental-hero h1 {
  position: relative;
  margin-bottom: 24px;
  max-width: 563px;
}

.enviromental-hero img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -7.2rem;
}

.enviromental-hero p {
  color: #f9f9f9;
  text-align: center;
}

.enviromental-hero .flex {
  flex-direction: column;
}

/* partner links */

.partners h4 {
  color: #f9f9f9;
  margin-bottom: 25px;
}

.paper-mill {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/paper-mill.webp");
}

.screening {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/screening.webp");
}

.daf {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/daf.webp");
}

.sludge-treatment {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/sludge-treatment.webp");
}

.biological-treatment {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/biological-treatment.webp");
}

.aeration {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/aeration.webp");
}

.enviromental-division {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url("asset/img/Enviromental-solutions/enviromental-devision.webp");
}
/* Enivormental solutions Page End */

/* Textile Training Start --------------------------------------------*/
.training-hero {
  background-image: linear-gradient(var(--hero-layer), var(--hero-layer)),
    url("asset/img/textile-training-devision.webp");
}

.training-hero img {
  max-width: 92px;
  height: auto;
}

.training-hero h1 {
  position: relative;
  margin-top: 24px;
  margin-bottom: 24px;
  max-width: 650px;
}

.training-hero p {
  color: #f9f9f9;
  text-align: center;
  max-width: 458px;
}

.training-hero .flex {
  flex-direction: column;
}

/* course details */

.course-details {
  padding: 92px 0 120px 0;
}

.course-h2 {
  margin-bottom: 64px;
}

.course-details h2 {
  position: relative;
  margin-bottom: 24px;
}

.course-details p {
  max-width: 458px;
}

.course-details h2 img {
  width: 100%;
  max-width: 45rem;
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -3rem;
}

.course-details .description-box {
  border: 1px solid black;
  padding: 13px 16px 51px 16px;
  min-height: 136px;
  height: 100%;
  border-radius: 3px;
  box-shadow: 0px 204.477px 56.753px 0px rgba(0, 0, 0, 0),
    0px 131.032px 52.58px 0px rgba(0, 0, 0, 0.01),
    0px 73.445px 44.234px 0px rgba(0, 0, 0, 0.03),
    0px 32.549px 32.549px 0px rgba(0, 0, 0, 0.04),
    0px 8.346px 18.361px 0px rgba(0, 0, 0, 0.05);
  transition: all 0.15s ease-in-out;
}

.course-details .description-box:not(:last-child) {
  margin-right: 20px;
}

.course-details .description-box:hover {
  transform: scale(0.98);
  box-shadow: 0px 102.2385px 28.3765px 0px rgba(0, 0, 0, 0),
    0px 65.516px 26.29px 0px rgba(0, 0, 0, 0.01),
    0px 36.7225px 22.117px 0px rgba(0, 0, 0, 0.03),
    0px 16.2745px 16.2745px 0px rgba(0, 0, 0, 0.04),
    0px 4.173px 9.1805px 0px rgba(0, 0, 0, 0.05);
}

.course-details img {
  width: 30px;
  height: 100%;
}

.course-details h4 {
  font-family: Poppins;
  font-size: 20px;
  font-weight: 500;
}

@media (max-width: 1062px) {
  .course-details .flex {
    flex-direction: column;
  }

  .course-details .description-box:first-child {
    margin-bottom: 24px;
    width: 100%;
  }
}

@media (max-width: 340px) {
  .course-details h2 {
    font-size: 32px;
  }

  .course-details h2 img {
    bottom: -5.4rem;
    max-width: 20rem;
  }
}
/* Textile Training End */

/* Contact Us Start ----------------------------------------- */
.contactus-hero {
  background-image: url("asset/img/contactus/contactus-hero.webp");
  padding: 0 92px 0 92px;
}

.contactus-hero h1 {
  position: relative;
  margin-bottom: 24px;
  max-width: 563px;
}

.contactus-hero img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -3.1rem;
}

.contactus-hero p {
  color: #f9f9f9;
  text-align: center;
}

.contactus-hero .flex {
  flex-direction: column;
}

.contactus {
  padding: 92px 0 120px 0;
}

.contactus h2 {
  position: relative;
}

.contactus h2 img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -3.2rem;
  max-width: 63rem;
}

.contactus .flex {
  margin-top: 64px;
  justify-content: space-between;
}

.contact-form {
  flex: 1;
  margin-right: 69px;
}

.form-group {
  margin-bottom: 15px;
  width: 100%;
}

.form-flex {
  display: flex;
  margin-bottom: 29px;
}

.form-group label {
  display: block;
  margin-bottom: 5px;
  font-family: Lato;
  font-size: 18px;
  font-style: normal;
  font-weight: 600;
  line-height: 165.5%; /* 29.79px */
}

.form-group input,
.form-group select,
.form-group textarea {
  width: calc(100% - 20px);
  padding: 10px;
  border: none;
  border-bottom: 1px solid #121212;
  border-radius: 0px;
  outline: none;
}

.interested {
  color: #801221;
}

.form-group.full-width {
  width: 100%;
}

.contact-form button {
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 16px;
}

.location {
  flex: 0.5;
  padding-left: 20px;
  border-left: 1px solid #ccc;
  height: 100%;
  align-self: center;
  max-width: 274px;
}

.location a {
  display: block;
  margin-top: 10px;
  margin-bottom: 34px;
}

.address {
  margin-top: 10px;
  margin-bottom: 34px;
  color: #8c8c8c;
}

.contact-number {
  color: var(--primary-color);
  font-weight: 600;
}

.contact-number::before {
  content: url(asset/img/contactus/phone-call-icon.svg);
  margin-right: 14px;
  vertical-align: middle;
}

@media (max-width: 1226px) {
  .contact-form {
    margin-right: 30px;
  }
}

/* Team */
.team {
  background-color: var(--primary-color);
  padding: 92px 0 120px 0;
}

.team h2 {
  margin-bottom: 64px;
  color: #f9f9f9;
  position: relative;
}

.team h2 img {
  position: absolute;
  content: url(asset/img/blackunderline.svg);
  left: 0;
  bottom: -2.8rem;
  max-width: 30rem;
}

.team-textile h2 img {
  max-width: 50rem !important;
}

.team-tannery h2 img {
  max-width: 54rem !important;
}

.team h4 {
  font-size: 16px;
  color: currentColor;
  margin-bottom: 2px;
}

.team .flex {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  column-gap: 24px;
  row-gap: 24px;
}

.team .content-box {
  background-color: #121212;
  color: #f9f9f9;
  box-shadow: 0px 245px 68px 0px rgba(0, 0, 0, 0),
    0px 157px 63px 0px rgba(0, 0, 0, 0.01),
    0px 88px 53px 0px rgba(0, 0, 0, 0.03), 0px 39px 39px 0px rgba(0, 0, 0, 0.04),
    0px 10px 22px 0px rgba(0, 0, 0, 0.05);
  flex-grow: 1;
}

.team .content-box img {
  object-fit: cover;
  position: relative;
  max-height: 256px;
}

.team .content-box img::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0);
  pointer-events: none;
  z-index: 1;
}

.team .bottom-sec {
  padding: 20px 20px;
}

.role-tag-container {
  display: flex;
  flex-wrap: wrap;
  margin-top: 38px;
}

.role-tags {
  margin-top: 7px;
  font-family: Poppins;
  color: #ccc;
  font-size: 12px;
  font-weight: 500;

  padding: 8px 16px;
  border-radius: 211px;
  border: 1px solid #ccc;
  cursor:default;
  transition: all 0.25s ease-in-out;
  white-space: inherit;
  margin-right: 7px;
}

.team .bottom-sec button:hover {
  background-color: #f9f9f9;
  color: #121212;
}

.team .bottom-sec a {
  display: block;
  margin-top: 12px;
}

.team .bottom-sec a:hover {
  color: var(--primary-color);
}

@media (max-width: 1024px) {
  .team .flex {
    grid-template-columns: 1fr 1fr;
  }

  .contactus .flex {
    flex-direction: column;
  }

  .contact-form {
    margin-right: 0;
  }

  .location {
    padding: 0;
    padding-top: 45px;
    border-left: none;
    border-top: 1px solid #ccc;
    max-width: 100%;
    width: 100%;
    margin-top: 45px;
  }
}

@media (max-width: 672px) {
  .team .flex {
    grid-template-columns: 1fr;
  }

  .contactus .form-flex {
    flex-direction: column;
  }

  .contactus .form-group {
    margin-bottom: 40px;
  }

  .contactus .form-flex {
    display: flex;
    margin-bottom: 0;
  }
}

@media (max-width: 522px) {
  .contactus h2 img {
    bottom: -6rem;
    max-width: 30rem;
  }

  .team-tannery h2 img {
    bottom: -6.7rem !important;
    max-width: 30rem !important;
  }
}

@media (max-width: 500px) {
  .contactus h2 img {
    bottom: -3rem;
    max-width: 54rem;
  }

  .team-tannery h2 img {
    bottom: -2.7rem !important;
    max-width: 54rem !important;
  }
}

@media (max-width: 448px) {
  .team-tannery h2 img {
    bottom: -6.7rem !important;
    max-width: 30rem !important;
  }
}

@media (max-width: 434px) {
  .contactus h2 img {
    bottom: -6rem;
    max-width: 30rem;
  }
  
}

@media (max-width: 417px) {
  .team-textile h2 img {
    bottom: -6.7rem !important;
    max-width: 30rem !important;
  }
}


@media (max-width: 400px) {
  .team-textile h2 img {
    bottom: -2.7rem !important;
    max-width: 54rem !important;
  }
}

@media (max-width: 385px) {
  .team-textile h2 img {
    bottom: -6.7rem !important;
    max-width: 30rem !important;
  }
}



/* olive oil */
.olive-hero {
  background-image: linear-gradient(var(--hero-layer), var(--hero-layer)), url("asset/img/olive-oil/olive-oil-hero.webp");
}

.olive-hero h1 {
  position: relative;
  margin-bottom: 24px;
}

.olive-hero img {
  position: absolute;
  content: url(asset/img/aboutus-h1.svg);
  left: 0;
  bottom: -2.7rem;
}

.olive-hero p {
  color: #f9f9f9;
  text-align: center;
}

.olive-hero .flex {
  flex-direction: column;
}


.italprogetti-olive-oil {
  background-image: linear-gradient(var(--partner-layer), var(--partner-layer)),
    url(asset/img/olive-oil/italprogeti-olive.webp);
}